package com.lagou.service;

import com.lagou.dao.MysqlDao;

import java.sql.SQLException;

public class CheckService {
    //检查用户名和密码是否存在
    public boolean check(String name ,String password) throws SQLException {
        return new MysqlDao().daoCheck(name, password);
    }
}
